/*
 * Comparable.h
 *
 *  Created on: 2012-5-17
 *      Author: esf
 */

#ifndef COMPARABLE_H_
#define COMPARABLE_H_

namespace java_lang {
template <class E>
class Comparable {
public:
	virtual int compareTo(E& o)=0;
	Comparable()
	{

	}
	virtual ~Comparable(){};
};

} /* namespace collection */
#endif /* COMPARABLE_H_ */
